package com.zixuan.yuojbackendjudgeservice;

import com.zixuan.yuojbackendjudgeservice.rabbitmq.MqInitMain;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan("com.zixuan")
@EnableDiscoveryClient
public class YuojBackendJudgeServiceApplication {

    public static void main(String[] args) {
        MqInitMain.doInit();//初始化rabbitMq
        SpringApplication.run(YuojBackendJudgeServiceApplication.class, args);
    }

}
